package com.hr.controller;



import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hr.entity.AoaTaskList;
import com.hr.service.AoaTaskListService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * (AoaTaskList)表控制层
 *
 * @author makejava
 * @since 2022-06-23 11:31:10
 */
@RestController
@RequestMapping("aoaTaskList")
public class AoaTaskListController {
    /**
     * 服务对象
     */
    @Resource
    private AoaTaskListService aoaTaskListService;

    /**
     * 查询任务表
     */
    @GetMapping("/queryList")
    public Page<AoaTaskList> queryList(Page<AoaTaskList> page){
        Page page1 = aoaTaskListService.queryList(page);
        return page1;
    }
}

